
if [ "$1" = "" ]  
then
  echo 'Please give an argument to identify the host'
  echo For example one of the following:
  for i in exports_*.sh
  do 
    export j=${i##exports_}
    echo '  ' ${j%%.sh}
  done

  exit 1
fi

export file=exports_$1.sh
if [ ! -f "$file" ]  
then
  echo File not found - $file
  echo 'Please give an argument to identify the host'
  echo For example one of the following:
  for i in exports_*.sh
  do 
    export j=${i##exports_}
    echo '  ' ${j%%.sh}
  done
  exit 2
fi

export export=exports.sh
[ -h "$export" ] && rm $export
ln -s  $file $export

